package com.example.neusoft215gdh.androidpro_21.Service;
import com.example.neusoft215gdh.androidpro_21.JavaBean.Contest;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
/**
 * Created by hp-pc on 2017/10/12.
 */

public interface ContestService {

    //获得比赛接口
    @GET("lists/mod/contest")
    Call<List<Contest>> getContest(
            @Query("SessionID") String sessionId,
            @Query("page") int page
    );

    //获取比赛详情接口
    @GET("get/mod/contest")
    Call<Contest> getMatchById(
            @Query("id") String id
    );
}
